<?php

class SdbB2cOrders extends \Phalcon\Mvc\Model
{

    /**
     *
     * @var string
     */
    public $order_id;

    /**
     *
     * @var double
     */
    public $total_amount;

    /**
     *
     * @var double
     */
    public $final_amount;

    /**
     *
     * @var string
     */
    public $pay_status;

    /**
     *
     * @var string
     */
    public $ship_status;

    /**
     *
     * @var string
     */
    public $is_delivery;

    /**
     *
     * @var integer
     */
    public $createtime;

    /**
     *
     * @var integer
     */
    public $received_time;

    /**
     *
     * @var integer
     */
    public $last_modified;

    /**
     *
     * @var string
     */
    public $payment;

    /**
     *
     * @var integer
     */
    public $shipping_id;

    /**
     *
     * @var string
     */
    public $shipping;

    /**
     *
     * @var integer
     */
    public $member_id;

    /**
     *
     * @var string
     */
    public $status;

    /**
     *
     * @var string
     */
    public $ship_area;

    /**
     *
     * @var string
     */
    public $ship_name;

    /**
     *
     * @var double
     */
    public $weight;

    /**
     *
     * @var string
     */
    public $tostr;

    /**
     *
     * @var integer
     */
    public $itemnum;

    /**
     *
     * @var string
     */
    public $ip;

    /**
     *
     * @var string
     */
    public $ship_addr;

    /**
     *
     * @var string
     */
    public $ship_zip;

    /**
     *
     * @var string
     */
    public $ship_tel;

    /**
     *
     * @var string
     */
    public $ship_email;

    /**
     *
     * @var string
     */
    public $ship_time;

    /**
     *
     * @var string
     */
    public $ship_mobile;

    /**
     *
     * @var string
     */
    public $identityCardId;

    /**
     *
     * @var double
     */
    public $cost_item;

    /**
     *
     * @var string
     */
    public $is_tax;

    /**
     *
     * @var string
     */
    public $tax_type;

    /**
     *
     * @var string
     */
    public $tax_content;

    /**
     *
     * @var double
     */
    public $cost_tax;

    /**
     *
     * @var string
     */
    public $tax_company;

    /**
     *
     * @var string
     */
    public $is_protect;

    /**
     *
     * @var double
     */
    public $cost_protect;

    /**
     *
     * @var double
     */
    public $cost_payment;

    /**
     *
     * @var string
     */
    public $currency;

    /**
     *
     * @var double
     */
    public $cur_rate;

    /**
     *
     * @var double
     */
    public $score_u;

    /**
     *
     * @var double
     */
    public $score_g;

    /**
     *
     * @var double
     */
    public $discount;

    /**
     *
     * @var double
     */
    public $pmt_goods;

    /**
     *
     * @var double
     */
    public $pmt_order;

    /**
     *
     * @var double
     */
    public $payed;

    /**
     *
     * @var string
     */
    public $memo;

    /**
     *
     * @var string
     */
    public $disabled;

    /**
     *
     * @var string
     */
    public $mark_type;

    /**
     *
     * @var string
     */
    public $mark_text;

    /**
     *
     * @var double
     */
    public $cost_freight;

    /**
     *
     * @var string
     */
    public $extend;

    /**
     *
     * @var string
     */
    public $order_refer;

    /**
     *
     * @var string
     */
    public $addon;

    /**
     *
     * @var string
     */
    public $source;

    /**
     *
     * @var string
     */
    public $is_auto_complete;

    /**
     *
     * @var integer
     */
    public $shop_id;

    /**
     *
     * @var string
     */
    public $is_send_customs;

    /**
     * Returns table name mapped in the model.
     *
     * @return string
     */
    public function getSource()
    {
        return 'sdb_b2c_orders';
    }

    /**
     * Allows to query a set of records that match the specified conditions
     *
     * @param mixed $parameters
     * @return SdbB2cOrders[]
     */
    public static function find($parameters = null)
    {
        return parent::find($parameters);
    }

    /**
     * Allows to query the first record that match the specified conditions
     *
     * @param mixed $parameters
     * @return SdbB2cOrders
     */
    public static function findFirst($parameters = null)
    {
        return parent::findFirst($parameters);
    }

}
